package com.tai.cobrapp.model;

import android.text.Editable;

public class Usuario{
	private static Usuario mInstance= null;
	
	private Integer id;
	private Editable username;
	private Editable password;
	private boolean active;
	
	protected Usuario(){}
	public static synchronized Usuario getUserInstance(){
    	if(null == mInstance){
    		mInstance = new Usuario();
    	}
    	return mInstance;
    }
	public Usuario(Editable username, Editable password) {
		super();
		this.username = username;
		this.password = password;
	}
	public Usuario(Editable username, Editable password, Integer id) {
		super();
		this.username = username;
		this.password = password;
		this.id = id;
	}
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Editable getUsername() {
		return username;
	}
	public void setUsername(Editable username) {
		this.username = username;
	}
	public Editable getPassword() {
		return password;
	}
	public void setPassword(Editable password) {
		this.password = password;
	}
	public boolean isActive() {
		return active;
	}
	public void setActive(boolean active) {
		this.active = active;
	}
	
	

}
